package top.v5it.japi.plus.example.client.controller;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 示例DTO
 *
 * @author zhanpu
 * @date 2022/6/21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TestExampleDTO implements Serializable {

    private static final long serialVersionUID = 1356075427403479014L;

    private Long id;
    private String name;
    private String sex;
    private LocalDate birthday;
    private Resource resource;

    @Data
    public static class Resource {

        private String tel;
        private String idNum;
    }
}
